package teleradiologia.domain;

import java.util.HashSet;
import java.util.Set;


@SuppressWarnings("serial")
public class Address implements java.io.Serializable {

	private long id;
	private String city;
	private String street;
	private String housenumber;
	private String flatnumber;
	private String postalcode;
	
	@SuppressWarnings("unchecked")
	private Set radiologylabs = new HashSet(0);
	@SuppressWarnings("unchecked")
	private Set diagnosticlabs = new HashSet(0);

	public Address() {
	}

	public Address(String city, String street, String housenumber, String flatnumber,
			String postalcode) {
		this.city = city;
		this.street = street;
		this.housenumber = housenumber;
		this.flatnumber = flatnumber;
		this.postalcode = postalcode;
	}

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getStreet() {
		return this.street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getHousenumber() {
		return this.housenumber;
	}

	public void setHousenumber(String housenumber) {
		this.housenumber = housenumber;
	}

	public String getFlatnumber() {
		return this.flatnumber;
	}

	public void setFlatnumber(String flatnumber) {
		this.flatnumber = flatnumber;
	}

	public String getPostalcode() {
		return this.postalcode;
	}

	public void setPostalcode(String postalcode) {
		this.postalcode = postalcode;
	}

	@SuppressWarnings("unchecked")
	public Set getRadiologylabs() {
		return this.radiologylabs;
	}

	@SuppressWarnings("unchecked")
	public void setRadiologylabs(Set radiologylabs) {
		this.radiologylabs = radiologylabs;
	}

	@SuppressWarnings("unchecked")
	public Set getDiagnosticlabs() {
		return this.diagnosticlabs;
	}

	@SuppressWarnings("unchecked")
	public void setDiagnosticlabs(Set diagnosticlabs) {
		this.diagnosticlabs = diagnosticlabs;
	}
}
